import request from '@/utils/requestH2'

// 用户账号密码登录
export function userLoginApi(data) {
  return request({
    url: '/admin/login/userLogin',
    method: 'POST',
    data
  })
}

// 获取权限页面
export function getUserInfoApi(userId) {
  return request({
    url: '/admin/login/selUserPage',
    method: 'GET',
    params: {
      userId
    }
  })
}
